<style type="text/css">
<!--
legend {
padding: 2px;
border: 1px solid #ddd;
background: #ececed;
}
-->
</style>
{% extends "base.html" %}
{% block title %}登录{% endblock %}
{% block content%}

<div>
<form action='.' method='post'>
  <fieldset>
<legend>用户登录</legend>
<p><label for="username">座号：</label><input type="text" id="username" name="username" value="{{username|escape}}"  /></p>
<p><label for="password">密码：</label><input type="password" id="password" name="password" /></p>
<p><input name="submit" type="submit" value="登录" onclick="pwd.value=hex_md5(pwd.value)" /></p>
</fieldset>
</fieldset>
<input type="hidden" name="next" value="{{ next|escape }}" />
</form>
</div>
{% endblock %}
